package annotationAndReflection;

import java.lang.annotation.*;

/**
 * @author mubei
 * @date 2021/11/25
 * @description
 */
@SuppressWarnings("unchecked")

public class AnnotationTest01 {
}

@Target(value = ElementType.METHOD)
@Retention(value = RetentionPolicy.RUNTIME)
@Inherited
@Documented
@interface MyAnnotation{
    // 注解的参数  参数类型  参数名()
    String name() default "ah";

}
